package com.yedean.mall.controller;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * HealthController
 *
 * @author yedean
 * @date 2022/8/2
 */
@Api(tags = "健康检查")
@RequestMapping("/admin/health")
@RestController
public class HealthController {
    @ApiOperation("服务存活检查")
    @GetMapping
    public String checkHealthy(){
        return "server is ok!";
    }
    
}
